home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / Epic4_mos / share / epic / help / 6_functions / msar < prev    next >
Encoding:
Text File  |  2002-10-28  |  502 b   |  20 lines

  1. Synopsis:
  2.    $msar(/<search>/<replace>/ ... /<text>)
  3.  
  4. Technical:
  5.    This function works much like sar(6), but handles multiple search
  6.    and replace arguments. The first character, a '/' in this case, can be
  7.    any character not appearing in <text>.
  8.  
  9. Returns:
  10.    the resultant string
  11.  
  12. Examples:
  13.    $msar(/as/xy/asdf)                 returns "xydf"
  14.    $msar(/as/xy/yd/42/asdf)           returns "x42f"
  15.    $msar(/e/he/pi/ll/c/o/epic)        returns "hello"
  16.  
  17. See Also:
  18.    tr(6); sar(6)
  19.  
  20.